package com.bone.order.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * 
 * 订单的采购产品信息(订单子子项信息).
 *
 */
public class OrdOrderMeta implements Serializable {
	private static final long serialVersionUID = -4197135240085719037L;

	/**
	 * 所有采购产品的时间信息数据
	 */
	private List<OrdOrderMetaTime> allOrdOrderItemMetaTime = new ArrayList<OrdOrderMetaTime>();
	
	private OrdOrderProd relateOrdOrderItemProd  = new OrdOrderProd();
	//主键ID.
	private Long orderItemMetaId;
	//订单ID.
	private Long orderId;
	//订单对象.
	private OrdOrder ordOrder;
	//订单的销售产品ID(订单子项ID).
	private Long orderItemId;
	//履行状态.
	private String performStatus;
	//资源确认状态.
	private String resourceStatus = "UNCONFIRMED";
	//预付款状态.
	private String prePayStatus;
	//结算状态.
	private String settlementStatus;
	//结算时间.
	private Date settlementTime;
	//采购产品ID.
	private Long metaProductId;
	//采购产品分支ID.
	private Long metaBranchId;
	//采购产品名称.
	private String productName;
	//采购产品类型.
	private String productType;
	//供应商ID.
	private Long supplierId;
	//供应商.
	//private SupSupplier supplier;
	//门市价.
	private Long marketPrice;
	//结算价.
	private Long settlementPrice;  
	//实际结算价.
	private Long actualSettlementPrice; 
	private Long suggestionPrice;
	//传真备注.
	private String faxMemo;
	//资源是否需确认.
	private String resourceConfirm;
	//游玩时间.
	private Date visitTime;
	//该采购产品在打包的销售产品中占有的数量（对于单件销售商品来说）
	private Long productQuantity;
	//组成该采购产品的成人数量（对于单件采购产品来说）
	private Long adultQuantity;
	//组成该采购产品的儿童数量（对于单件采购产品来说）
	private Long childQuantity;
	//电子通关码的有效天数.
	private Long validDays;
	//传真发送状态.
	private String faxSendStatus;
	//是否被领("true"/"false").
	private String taken;
	//产品子类型.
	private String subProductType;
	//是否有退款申请("true"/"false").
	private String refund;
	//打包数量,购买数（即订单子项中的数量）.
	private Long quantity;
	//支付对象.
	private String paymentTarget;
	//售价（根据比例算出）.
	private Long sellPrice;
	//供应商的产品ID.
	private String productIdSupplier;
	//供应商的产品类型或名称.
	private String productTypeSupplier;
	//发送传真("true"/"false").
	private String sendFax;
	//是否资源确认后发送传真
	private String isResourceSendFax;
	// 资源审核不通过原因 (仅当资源审核不通过时)
	private String resourceLackReason;
	//库存是否减少了(是否影响库存),取值为true、false. true代表该订单影响库存，订单被取消时，如果STOCK_REDUCED字段为true，则修改为false.
	private String stockReduced = "false";
	//保留时间
	private Date retentionTime;
	//凭证状态.
	private String passStatus;
	//采购产品.
	//private MetaProduct metaProduct;
	//选中订单子项,默认不选中.
	private String checkItem="false";
	//订单子子项履行信息.
	//private OrdPerform ordPerform;
	//采购产品类别类型. 取值为COM_CODE表中SET_CODE值为TICKET_BRANCH、ROUTE_BRANCH、OTHER_BRANCH、SELF_PACK_BRANCH.
	private String branchType;
	//是否为学生(只针对于门票)
	private String isStudent;
	//酒店入住晚数（单房型是每晚）
	private Long nights;
	
	 
	
}